<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>商户管理-配置支付方式</title>
<link href="../css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
<link href="../font-awesome/css/font-awesome.css?v=4.3.0"
	rel="stylesheet">
<link href="../css/animate.css" rel="stylesheet">
<link href="../css/style.css?v=2.2.0" rel="stylesheet">
</head>
<body>
	<div id="wrapper">
		<%@ include file="../include/left.jsp"%>


		<div id="page-wrapper" class="gray-bg dashbard-1">
			<%@ include file="../include/head.jsp"%>
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>商户管理-配置支付方式</h2>
				</div>
			</div>
			<div class="wrapper wrapper-content animated fadeInRight">

				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>配置支付方式</h5>
							</div>
							<div class="ibox-content">
								<form class="form-horizontal m-t" method="post"
									action="" id="commentForm">
									<input type="hidden" value="${item.id }" name="id" />
									<div class="form-group">
										<label class="col-sm-3 control-label">商户帐号：</label>
										<div class="col-sm-8">
											<input id="cname" name="order_id"  value="zsgeek"
												type="text" value="${item.order_id }" class="form-control"
												disabled="disabled">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">微信商户号：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入商户名称"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">支付密匙：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入商户密码"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">联系方式：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入联系方式"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">起始时间：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入生效起始时间"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">结束时间：</label>
										<div class="col-sm-8">
											<input id="cemail" value="${item.title }" type="text"
												class="form-control" name="title" placeholder="请输入生效结束时间"
												required="" aria-required="true">
										</div>
									</div>
									<div class="form-group">
										<div class="col-sm-4 col-sm-offset-3">
											<button class="btn btn-primary" type="submit">提交保存</button>
										</div>
									</div>
								</form>
							</div>
						</div>

					</div>
				</div>

			</div>
			<%@ include file="../include/bottom.jsp"%>

		</div>
	</div>


	<script src="../js/jquery-2.1.1.min.js"></script>
	<script src="../js/bootstrap.min.js?v=3.4.0"></script>
	<script src="../js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="../js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="../js/hplus.js?v=2.2.0"></script>
	<script src="../js/plugins/pace/pace.min.js"></script>
	<script src="../js/plugins/validate/jquery.validate.min.js"></script>
	<script src="../js/plugins/validate/messages_zh.min.js"></script>
	<script>
		//以下为修改jQuery Validation插件兼容Bootstrap的方法，没有直接写在插件中是为了便于插件升级
		$.validator.setDefaults({
			highlight : function(element) {
				$(element).closest('.form-group').removeClass('has-success')
						.addClass('has-error');
			},
			success : function(element) {
				element.closest('.form-group').removeClass('has-error')
						.addClass('has-success');
			},
			errorElement : "span",
			errorClass : "help-block m-b-none",
			validClass : "help-block m-b-none"

		});

		//以下为官方示例
		$().ready(function() {
			$("#commentForm").validate();
		});
	</script>

</body>

</html>
